package com.itheima.jdk8date;

import java.time.LocalDateTime;

public class Test05 {

    public static void main(String[] args) {
        LocalDateTime dateTime = LocalDateTime.of(2020, 11, 11, 13, 14, 15);
        LocalDateTime dateTime1 = dateTime.minusYears(2030);
        System.out.println(dateTime1);
        LocalDateTime dateTime2 = dateTime.minusMonths(5000);
        System.out.println(dateTime2);

        System.out.println(dateTime.minusHours(-50000000000L));


    }







}
